package com.ssm.song.book.service;

import com.ssm.song.book.domain.Reader;
import com.ssm.song.book.domain.vo.ReaderVo;
import org.springframework.transaction.annotation.Transactional;

import java.sql.SQLException;

/**
 * @Author 宋伟宁
 * @Date 2023/10/18
 * @Version 1.0
 **/
@Transactional(rollbackFor = SQLException.class)
public interface IReaderService {

      boolean register(Reader reader);

      ReaderVo login(String cardnum, String password);
}
